package com.sure.minion.web.interceptor;

import java.lang.annotation.Target;
import java.lang.annotation.Retention;
import java.lang.annotation.ElementType;
import java.lang.annotation.RetentionPolicy;

/**
 * 授权注解，作用于controller类及其方法上，方法优先
 * 
 * @author huangjian
 * @date 2015-04-13
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface Authorization
{
    UserRole[] value() default{
    };
}
